package com.ubhave.powertrackernof1;

import android.app.Application;
import android.content.Context;
import android.preference.PreferenceManager;

/**
 * Application class to provide the global context.
 */
public class PowerTrackerApplication extends Application
{
	private static PowerTrackerApplication instance;

	public PowerTrackerApplication()
	{
		instance = this;
		//PreferenceManager.getDefaultSharedPreferences(getBaseContext()).registerOnSharedPreferenceChangeListener(new PowerTrackerSharedPreferenceChangeListener());
			
	}

	public static Context getContext()
	{
		return instance;
	}
}